#!/usr/bin/osascript

on run argv
    set photo_directory to item 1 of argv
    tell application "iPhoto"
        import from photo_directory
    end tell
end run



